From: Keir Fraser Date: Wed, 22 Oct 2008 14:11:54 +0000 (+0100) Subject: x86: Remove needless IRQ critical section from init_xen_time(). X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14054^2~51 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=8d6347af69f9f4a1f27060720f6f60caa9db1031;p=xen.git x86: Remove needless IRQ critical section from init_xen_time(). Signed-off-by: Keir Fraser --- diff --git a/xen/arch/x86/time.c b/xen/arch/x86/time.c index 2459e9738c..8e86e7180c 100644 --- a/xen/arch/x86/time.c +++ b/xen/arch/x86/time.c @@ -1063,8 +1063,6 @@ void init_percpu_time(void) /* Late init function (after all CPUs are booted). */ int __init init_xen_time(void) { - local_irq_disable(); - /* check if TSC is invariant during deep C state this is a new feature introduced by Nehalem*/ if ( cpuid_edx(0x80000007) & (1u<<8) ) @@ -1079,8 +1077,6 @@ int __init init_xen_time(void) do_settime(get_cmos_time(), 0, NOW()); - local_irq_enable(); - return 0; }